"""
 -*- coding: utf-8-*-
 @File: base_hero.py
 @Author: chen
 @time: 2023/07/09/ 18:00
"""

from src.dev.hero_mgt_sys import HeroManagement


class BaseHero:
    hero = HeroManagement()

    @classmethod
    def setup_class(cls):
        print("开始测试")

    @classmethod
    def teardown_class(cls):
        print("测试完成")

    @classmethod
    def setup_method(cls):
        print("开始执行用例")

    @classmethod
    def teardown_method(cls):
        print("用例执行完成")
        cls.hero.hero_list = []
